import request from '@/utils/request'

// 查询评分表管理列表
export function listSheet(query) {
    return request({
        url: '/score/sheet/list',
        method: 'get',
        params: query
    })
}

// 查询评分表管理详细
export function getSheet(id) {
    return request({
        url: '/score/sheet/' + id,
        method: 'get'
    })
}

// 查询评分表管理详细
export function select_score_sheetList_byIds(ids) {
    return request({
        url: '/score/sheet/select_score_sheetList_byIds',
        method: 'post',
        data: {ids:ids}
    })
}

// 新增评分表管理
export function addSheet(data) {
    return request({
        url: '/score/sheet',
        method: 'post',
        data: data
    })
}

// 修改评分表管理
export function updateSheet(data) {
    return request({
        url: '/score/sheet',
        method: 'put',
        data: data
    })
}

// 删除评分表管理
export function delSheet(id) {
    return request({
        url: '/score/sheet/' + id,
        method: 'delete'
    })
}

// 下载模板
export function import_template(){
    return request({
        url: '/score/sheet/importTemplate',
        method: 'post',
    })
}
